package com.myeasyexcel.utils;

import lombok.Data;

import java.util.List;
import org.springframework.stereotype.Component;

@Data
@Component
public class ExcelCheckResult<T> {
    /**
     * 成功结果数量
     */
    private int successSize;
    /**
     * 失败结果集
     */
    private List<T> errDtos;

    public ExcelCheckResult() {
    }

    public ExcelCheckResult(int successSize, List<T> errDtos){
        this.successSize =successSize;
        this.errDtos = errDtos;
    }
}
